package com.bwie.service.imp;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.mapper.VolumeMapper;
import com.bwie.pojo.Volume;
import com.bwie.service.VolumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VolumeServiceImpl extends ServiceImpl<VolumeMapper, Volume> implements VolumeService {

    @Autowired
    private VolumeMapper volumeMapper;

    @Override
    public List<Volume> volumeList() {
        return volumeMapper.volumeList();
    }
}
